<#compress>
    <@override name="title">修改密码</@override>
    <@override name="viewbody">
    <div class="row">
        <div class="col-md-12">
            <ul class="page-breadcrumb breadcrumb">
                <li>
                    <i class="fa fa-home"></i>
                    <a href="${ctx}/customer">
                        首页
                    </a>
                    <i class="fa fa-angle-right"></i>
                </li>
            </ul>
        </div>
    </div>

    <div class="panel panel-default">
        <div class="panel-heading"><h6 class="panel-title">用户信息</h6></div>
        <#if msg?? && states??>
            <#if states>
                <div class="alert alert-success">
                    <strong>${msg!}</strong>
                </div>
            <#else >
                <div class="alert alert-danger">
                    <strong>${msg!}</strong>
                </div>
            </#if>

        </#if>
        <div class="panel-body">
            <form class="form-horizontal" action="${ctx}/customer/personal/updatePassword" role="form" id="authUsersForm" method="post">
                <div class="form-group">
                    <label class="col-sm-2 control-label" for="authUsersPassword">原始密码:<span
                            class="required">*</span></label>
                    <div class="col-sm-10">
                        <input type="password" class="required form-control input-xlarge" placeholder="原始密码"
                               name="oldPassword" id="oldPassword">
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-sm-2 control-label" for="authUsersPassword">新密码:<span
                            class="required">*</span></label>
                    <div class="col-sm-10">
                        <input type="password" class="required form-control input-xlarge" placeholder="新密码"
                               name="password" id="password">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label" for="okpassword">确认密码:<span
                            class="required">*</span></label>
                    <div class="col-sm-10">
                        <input type="password"  placeholder="确认密码"
                               class="required form-control input-xlarge"
                               name="confirm_password" id="okpassword">
                    </div>
                </div>
                <div class="form-actions text-right">

                    <a class="btn default yellow-stripe" href="${ctx}/customer/index"><i
                            class="fa fa-arrow-circle-o-left"></i> 返回</a>
                    <input type="submit" value="保存" class="btn btn-primary">
                </div>

            </form>
        </div>
    </div>
    </@override>

    <@override name="viewmodule">member_uptpassword</@override>
    <@extends name="../_basic/service.ftl"></@extends>
</#compress>